package com.brainhealth.common.enums;

/**
 * @author wll
 */
public enum YNEnum {
    YES(1, "正确"),
    NO(0, "不正确");

    private final int code;
    private final String info;

    YNEnum(int code, String info) {
        this.code = code;
        this.info = info;
    }

    public int getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }
}
